<!--
 * @FileDescription 教学辅助
 * @Author lz
 * @Date 20230223 16:15:34
 * @LastEditors lz
 * @LastEditTime 20230223 16:15:34
-->
<template>
    <div class="teachingAids_wp" v-if="state.show">
        <div class="tit">教学辅助</div>
        <img src="/colImages/DecorativeLine_l.png" class="line">
        <img src="/colImages/packUp.png" class="packUp" @click="show()">
        <div class="text">
            教学辅助
        </div>
        <div class="content_wp">
            <div class="PreviousStep">
                上一步
            </div>
            <div class="suspend">

            </div>
            <div class="nextStep">
                下一步
            </div>
        </div>
        <div class="check_box">
            <div class="times">
                1x
            </div>
            <div class="times">
                2x
            </div>
            <a-checkbox v-model:checked="state.checked" class="check_text">连续自动操作</a-checkbox>
        </div>
    </div>
    <div class="StowedState" v-if="!state.show" @click="show()">
        <img src="/colImages/ExpandArrow_l.png" class="expArr">
    </div>
</template>

<script setup lang="ts">
import { reactive, ref, toRefs, onBeforeMount, onMounted, onBeforeUpdate, onUpdated, onUnmounted, StyleValue, defineProps, defineEmits } from 'vue'
const state = reactive({
    checked: ref(false),
    show: true,
});
function show() {
    state.show = !state.show
}
</script>

<style scoped>
.teachingAids_wp {
    position: absolute;
    left: 0;
    top: 759px;
    width: 290px;
    height: 283px;
    background-image: url('/colImages/cz_jxfz_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.content_wp {
    display: flex;
    margin-top: 25px;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #00E7FF;
}

.line {
    position: absolute;
    left: 6px;
    top: 32px;
    width: 274px;
    height: 28px;
}

.tit {
    font-size: 22px;
    font-family: YouSheBiaoTiHei;
    font-weight: 400;
    color: #ffffff;
    padding-left: 38px;
    padding-top: 12px;
}

.packUp {
    position: absolute;
    right: 4px;
    top: 13px;
    width: 27px;
    height: 32px;
}

.PreviousStep {
    width: 96px;
    height: 49px;
    text-align: center;
    line-height: 49px;
    background-image: url('/colImages/cz_jf_btn_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-left: 18px;
}

.nextStep {
    width: 96px;
    height: 49px;
    line-height: 49px;
    text-align: center;
    background-image: url('/colImages/cz_jf_btn_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.suspend {
    width: 44px;
    height: 43px;
    background-image: url('/colImages/firing.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 0 11px;
}

.text {
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
}

.check_box {
    text-align: center;
    display: flex;
    align-items: center;
}

.check_text {
    font-size: 16px;
    font-weight: 400;
    color: #B1D0F4;
    margin-left: 40px;
}

.times {
    font-size: 20px;
    font-weight: 400;
    color: #B1D0F4;
    font-weight: bold;
    margin: 18px;
}

.times:hover {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.StowedState {
    position: absolute;
    left: 0;
    top: 764px;
    width: 52px;
    height: 52px;
    background-image: url('/colImages/stowedState_l_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.expArr{
    width: 27px;
    height: 32px;
    margin-top: 10px;
    margin-left: 13px;
}
</style>